﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xyz.Core.Infrastructure;
using Xyz.Core.Models;
using Xyz.Core.Models.Filters;

namespace Xyz.Core.Interfaces
{
    public interface IHbxxService
    {
     

        /// <summary>
        /// 分页搜索
        /// </summary>
        /// <param name="filters">查询过滤参数</param>
        /// <returns></returns>
        Task<PagedResult<HbxxDto>> SearchAsync(HbxxFilters filters, int id,  string flightnum, string starting_point,string homeIcao, string pointIcao, string end, string ac, string type, string dayTime,string starting_pointAirport,string endAirport);

        Task<PagedResult<HbxxDto>> SearchAsyncflightnum(HbxxFilters filters, string flightnum);
    }
}
